package io.binghe.im.openai.domain.chapgpt.model.message;

import io.binghe.im.openai.domain.chapgpt.model.vo.ChoiceInfo;

import java.io.Serializable;
import java.util.List;

/**
 * @author binghe(微信 : hacker_binghe)
 * @version 1.0.0
 * @description 与OpenAI交互的消息模型
 * @github https://github.com/binghe001
 * @copyright 公众号: 冰河技术
 */
public class AIMessage implements Serializable {
    private static final long serialVersionUID = -6964737479439917128L;

    private String id;

    private String object;

    private Integer created;

    private String model;

    private List<ChoiceInfo> choices;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getObject() {
        return object;
    }

    public void setObject(String object) {
        this.object = object;
    }

    public Integer getCreated() {
        return created;
    }

    public void setCreated(Integer created) {
        this.created = created;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public List<ChoiceInfo> getChoices() {
        return choices;
    }

    public void setChoices(List<ChoiceInfo> choices) {
        this.choices = choices;
    }
}
